# the minimum version of CMake.
cmake_minimum_required(VERSION 3.4.1)
project(test-open-harmony)

set(NATIVERENDER_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR})

set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)

include_directories(${NATIVERENDER_ROOT_PATH}
                    ${NATIVERENDER_ROOT_PATH}/thirdparty)

set(SRC_SOURCE_DIR ${NATIVERENDER_ROOT_PATH}/src)
file(GLOB SRC_SOURCES "${SRC_SOURCE_DIR}/*.cpp")

add_library(npuserver SHARED hello.cpp
                             ${SRC_SOURCES}
                             )

target_link_libraries(npuserver PUBLIC libace_napi.z.so)
target_link_libraries(npuserver PUBLIC libhilog_ndk.z.so)